package com.lmy.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lmy.common.utils.PageUtils;
import com.lmy.product.entity.CategoryEntity;
import com.lmy.vo.CategoryLevelVo;


import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author lmy
 * @email lmy06091@163.com
 * @date 2024-01-13 15:44:49
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMenusByIds(List<Long> list);

    Long[] findCatelogPath(Long catelogId);

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> selectOneLevel();

    Map<String, List<CategoryLevelVo>> getCatalogJson();
}

